package com.ruoyi.material.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 素材标签记录对象 base_file_label
 * 
 * @author ruoyi
 * @date 2021-07-23
 */
public class BaseFileLabel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 素材文件ID */
    @Excel(name = "素材文件ID")
    private Long fileCode;

    /** 标签ID */
    @Excel(name = "标签ID")
    private Long labelCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFileCode(Long fileCode) 
    {
        this.fileCode = fileCode;
    }

    public Long getFileCode() 
    {
        return fileCode;
    }
    public void setLabelCode(Long labelCode) 
    {
        this.labelCode = labelCode;
    }

    public Long getLabelCode() 
    {
        return labelCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileCode", getFileCode())
            .append("labelCode", getLabelCode())
            .toString();
    }
}
